package com.cf.docker.service;

import com.cf.crud.service.AbsBaseService;
import com.cf.docker.dao.MachineDao;
import com.cf.docker.model.Machine;

/**
 * boot-awm-MachineService
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/6/20 下午 02:50
 */
public class MachineService extends AbsBaseService<Machine, MachineDao> {
    @Override
    public Class getTargetClass() {
        return Machine.class;
    }

    public Machine selectByIp(String ip) {
        return this.mapper.selectByIp(ip);
    }
}
